.class public abstract Les/ze0;
.super Landroid/os/AsyncTask;
.source "JecAsyncTask.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<Params:",
        "Ljava/lang/Object;",
        "Progress:",
        "Ljava/lang/Object;",
        "Result:",
        "Ljava/lang/Object;",
        ">",
        "Landroid/os/AsyncTask<",
        "TParams;TProgress;TResult;>;"
    }
.end annotation


# instance fields
.field private a:Ljava/lang/Exception;

.field private b:Les/af0;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Les/af0<",
            "TResult;>;"
        }
    .end annotation
.end field

.field private c:Les/ye0;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/af0;)Les/ze0;
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/af0<",
            "TResult;>;)",
            "Les/ze0<",
            "TParams;TProgress;TResult;>;"
        }
    .end annotation

    .line 1
    iput-object p1, p0, Les/ze0;->b:Les/af0;

    return-object p0
.end method

.method protected a()V
    .locals 1

    .line 2
    iget-object v0, p0, Les/ze0;->b:Les/af0;

    if-eqz v0, :cond_0

    .line 3
    invoke-interface {v0}, Les/af0;->a()V

    .line 4
    :cond_0
    iget-object v0, p0, Les/ze0;->c:Les/ye0;

    if-eqz v0, :cond_1

    .line 5
    invoke-interface {v0}, Les/ye0;->dismiss()V

    :cond_1
    return-void
.end method

.method protected varargs abstract a(Les/bf0;[Ljava/lang/Object;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/bf0<",
            "TResult;>;[TParams;)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation
.end method

.method protected a(Ljava/lang/Exception;)V
    .locals 1

    .line 8
    iget-object v0, p0, Les/ze0;->b:Les/af0;

    if-eqz v0, :cond_0

    .line 9
    invoke-interface {v0, p1}, Les/af0;->onError(Ljava/lang/Exception;)V

    :cond_0
    return-void
.end method

.method protected a(Ljava/lang/Object;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TResult;)V"
        }
    .end annotation

    .line 6
    iget-object v0, p0, Les/ze0;->b:Les/af0;

    if-eqz v0, :cond_0

    .line 7
    invoke-interface {v0, p1}, Les/af0;->a(Ljava/lang/Object;)V

    :cond_0
    return-void
.end method

.method protected final varargs doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([TParams;)TResult;"
        }
    .end annotation

    .line 1
    new-instance v0, Les/bf0;

    invoke-direct {v0}, Les/bf0;-><init>()V

    .line 2
    :try_start_0
    invoke-virtual {p0, v0, p1}, Les/ze0;->a(Les/bf0;[Ljava/lang/Object;)V

    .line 3
    invoke-virtual {v0}, Les/bf0;->b()V

    .line 4
    invoke-virtual {v0}, Les/bf0;->a()Ljava/lang/Object;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    move-exception p1

    .line 5
    iput-object p1, p0, Les/ze0;->a:Ljava/lang/Exception;

    const/4 p1, 0x0

    return-object p1
.end method

.method protected onCancelled()V
    .locals 0

    .line 1
    invoke-virtual {p0}, Les/ze0;->a()V

    return-void
.end method

.method protected final onPostExecute(Ljava/lang/Object;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TResult;)V"
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Landroid/os/AsyncTask;->isCancelled()Z

    move-result v0

    if-nez v0, :cond_1

    .line 2
    invoke-virtual {p0}, Les/ze0;->a()V

    .line 3
    iget-object v0, p0, Les/ze0;->a:Ljava/lang/Exception;

    if-nez v0, :cond_0

    .line 4
    invoke-virtual {p0, p1}, Les/ze0;->a(Ljava/lang/Object;)V

    goto :goto_0

    .line 5
    :cond_0
    invoke-virtual {p0, v0}, Les/ze0;->a(Ljava/lang/Exception;)V

    :cond_1
    :goto_0
    return-void
.end method

.method protected onPreExecute()V
    .locals 1

    .line 1
    iget-object v0, p0, Les/ze0;->c:Les/ye0;

    if-eqz v0, :cond_0

    .line 2
    invoke-interface {v0}, Les/ye0;->show()V

    :cond_0
    return-void
.end method
